package cl.sujey.school;

public class Mark {

	private Student student;
	
	private double value;
	
	public double getValue() {
		return value;
	}

	public Student getStudent() {
		return student;
	}

	public Mark(Student student, double value) {
		this.student = student;
		this.value = value;
	}

	@Override
	public String toString() {
		return "(" + student.getName() + ", " + value + ")";
	}

	
}
